﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Sockets
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
    public class ProtocolDeclaration : Attribute
    {
        int protocol;
        int action;

        public ProtocolDeclaration(int protocol, int action)
        {
            this.protocol = protocol;
            this.action = action;
        }

        public int Protocol
        {
            get { return protocol; }
            set { protocol = value; }
        }
        public int Action
        {
            get { return action; }
            set { action = value; }
        }
    }
}
